# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-poe-component-ikc
pkgver=0.2402
pkgrel=8
pkgdesc="Perl/CPAN Module POE::Component::IKC"
arch=("any")
url="https://search.cpan.org/dist/POE-Component-IKC/"
license=("GPL" "PerlArtistic")
makedepends=("perl-poe")
depends=("perl-poe")
source=("https://www.cpan.org/authors/id/G/GW/GWYN/POE-Component-IKC-$pkgver.tar.gz")
sha256sums=('87b8696dce1cfa05a6054b8b7a65e733ae88f2ce52bb981743a250b579d0eab6')

build() {
  cd "$srcdir"/POE-Component-IKC-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir"/POE-Component-IKC-$pkgver
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}
